package com.gzs.space.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author GZS
 * @date 2022年04月10日
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FdfsFile implements Serializable {
	private Integer id;

	private String fileName;

	private String groupName;

	private String newFileName;

	private Date createTime;

	public String getUrl(){
		return "http://47.106.177.213:8888/"+groupName+"/"+newFileName;
	}

}
